#ifndef MYFINDDIALOG_H
#define MYFINDDIALOG_H

#include <QDialog>

namespace Ui {
class MyFindDialog;
}

class MyFindDialog : public QDialog
{
    Q_OBJECT

public:
    explicit MyFindDialog(QWidget *parent = 0);
    MyFindDialog(const QString &text, QWidget *parent = 0);
    ~MyFindDialog();

private slots:
    void on_find_next_clicked();
    void on_find_all_clicked();

signals:
    void find_next_clicked(const QString &text);
    void find_all_clicked(const QString &text);

private:
    Ui::MyFindDialog *ui;
};

#endif // MYFINDDIALOG_H
